<?php /* Smarty version 2.6.26, created on 2010-10-24 17:37:05
         compiled from show_practices.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'cycle', 'show_practices.tpl', 16, false),)), $this); ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "header.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>

<h3>Praktyki</h3>

<table id="practices">
	<tr>
		<td>Data dodania</td>
		<td>Firma</td>
		<td>Miasto</td>
		<td>Od</td>
		<td>Do</td>
		<td>Liczba miejsc</td>
		<td></td>
	</tr>
	<?php $_from = $this->_tpl_vars['practices']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['practice']):
?>
	<tr style="background-color:<?php echo smarty_function_cycle(array('values' => "#EBEBEB,#ACABAB"), $this);?>
">
		<td><?php echo $this->_tpl_vars['practice']['add_date']; ?>
</td>
		<td><?php echo $this->_tpl_vars['practice']['company_name']; ?>
</td>
		<td><?php echo $this->_tpl_vars['practice']['city']; ?>
</td>
		<td><?php echo $this->_tpl_vars['practice']['date_start']; ?>
</td>
		<td><?php echo $this->_tpl_vars['practice']['date_end']; ?>
</td>
		<td><?php echo $this->_tpl_vars['practice']['amount']; ?>
</td>
		<td><a href ="practice_details.php?id=<?php echo $this->_tpl_vars['practice']['id']; ?>
">Zobacz</a></td>
	</tr>
	<?php endforeach; endif; unset($_from); ?>
<table>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "footer.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>